package com.gary.springcloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @author pengrui
 * @date 2021/1/5 - 14:15
 */
@RestController
public class PaymentController {

    @Value("${server.port}")
    private String port;

    @GetMapping("/payment/zk")
    public String paymentZk() {

        return "success ! port is" + port + "***" + UUID.randomUUID().toString();
    }
}
